const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
  transpileDependencies: true,
  devServer: {
    proxy: {
      '/Api': {
        target: 'https://hy.kuangren.ltd',
        changeOrigin: true,
        // pathRewrite: { '^/Api': '' }, // 如果需要重写路径
      },
      '/api': {
        target: 'https://hy.kuangren.ltd',
        changeOrigin: true,
        // pathRewrite: { '^/Api': '' }, // 如果需要重写路径
      }
    }
  }
})
